import axios from "axios";
const github = axios.create({
	baseURL:"https://api.github.com",
	timeout:15000
});
github.interceptors.response.use(function(response){
	return response.data;
},function(err){
	alert("网络连接错误:"+err.message);
	console.log(11111111,err);
	return Promise.reject(err);
});
export default github;